<!DOCTYPE html>
<html>
<head>
	<title>添加栏目</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url('style/admin/css/public.css')?>">
	<style type="text/css">
		span{
			color: red;
		}
	</style>
</head>
<body>
	<form action="<?php echo site_url('admin/editor/add_active')?>" method="post">
		<table class="table">
			<tr>
				<td class="th" colspan="10">添加栏目</td>
			</tr>
			<tr>
				<td>栏目名称</td>
				<td>
					<input type="text" name="cname" value="<?php echo set_value('cname')?>">
					<?php echo form_error('cname','<span>','</span>')?>
				</td>
			</tr>
			<tr>
				<td colspan="10">
					<input type="submit" value="添加" class="input_button">
				</td>
			</tr>
		</table>
	</form>
</body>
</html>